
const shell = require('shelljs');

var sd = require('silly-datetime');
var time=sd.format(new Date(), 'YYYY-MM-DD HH:mm');
console.log(time);

// 不能在一股脑全部添加了
shell.exec('git add .');
shell.exec(`git commit -m "发布版本${time}"`);
shell.exec('git push origin master');
